package com.security.door.dao.mapper;

import com.security.door.core.tk.mapper.MyBaseMapper;
import com.security.door.model.domain.crPersionArea;
import com.security.door.model.dto.crPersionAreaDto;
import com.security.door.model.vo.crPersionAreaVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface crPersionAreaMapper extends MyBaseMapper<crPersionArea> {
    List<crPersionAreaVo> queryListWithPage(crPersionAreaDto entity);

    Integer deleteByPersionCode(String persionCode);

    Integer deleteByPersionArea(crPersionArea entity);
}